package cn.hp.mapper;

import cn.hp.entity.UserRole;

import java.util.List;

public interface UserRoleMapper {
    List<UserRole> selectUserRoleList(UserRole userRole);

    int insertUserRole(UserRole userRole);

    int updateUserRole(UserRole userRole);

    int deleteUserRoleByRoleId(Integer roleId);

    int deleteUserRoleByUId(Integer uId);
}
